//package org.qing.cloud.common.captcha.core;
//
//import org.qing.cloud.common.captcha.core.config.CaptchaEndpoint;
//import org.qing.cloud.common.captcha.core.config.CaptchaProperties;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
//import org.springframework.boot.context.properties.EnableConfigurationProperties;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * 验证码配置类
// */
//@Configuration(proxyBeanMethods = false)
//@EnableConfigurationProperties(CaptchaProperties.class)
//public class CaptchaAutoConfiguration {
//
//    @Bean
//    @ConditionalOnWebApplication
//    public CaptchaEndpoint captchaEndpoint(CaptchaProperties properties) {
//        return new CaptchaEndpoint(properties);
//    }
//
//}
